package com.example.demo.repository;

import com.example.demo.model.Dishes;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;

@Repository
public interface DishesRepository extends JpaRepository<Dishes, Long> {
    Dishes findByName(String name);
    Dishes findByDishId(Long dishId);
}
